//
//  FQDSimpleFeedCellItemProvider.h
//  FakeQDaily
//
//  Created by mewxiv on 9/20/16.
//  Copyright © 2016 Xensius. All rights reserved.
//

#import "FQDFeedCellItemProvider.h"

typedef void(^FQDSimpleFeedCellItemProviderFetchFeedBlock)(NSString *feedId, NSString *cursorKey, QDailyAPICompleteBlock completion);

@interface FQDSimpleFeedCellItemProvider : FQDFeedCellItemProvider

// 获取信息流数据的Block
@property (nonatomic, copy) FQDSimpleFeedCellItemProviderFetchFeedBlock fetchFeedBlock;
// 服务器返回json中的信息流字段名，默认为"feeds"
@property (nonatomic, copy) NSString *responseFeedsName;
// 服务器返回的信息流模型类，默认为FQDFeed
@property (nonatomic, strong) Class responseFeedClass;
// 单元格数据模型类
@property (nonatomic, strong) Class cellItemClass;

- (void)setFetchFeedBlock:(FQDSimpleFeedCellItemProviderFetchFeedBlock)fetchFeedBlock;

@end
